#include <stdio.h>
#include "../../src/gtthread.h"

char g_str[] = "hello world\n";

void* worker(void* arg)
{
	for(;;);
}

gtthread_t g_th1, g_th2;

int main()
{
	volatile int i=0;

	gtthread_init(1000);

	gtthread_create(&g_th1, worker, (void*)1);
	gtthread_create(&g_th2, worker, (void*)1);

	if(gtthread_equal(g_th1, g_th2))
		printf("same\n");
	else
		printf("diff\n");

	for(;;);
}
